package BankingApplication;

public class Account
{

	protected AccountType accountType;
	protected AccountOwner owner;
	protected int accountNumber;
	protected double balance;
	protected double minBalance;
	
	
	public Account(int accountNum, AccountOwner owner, double balance) 
	{
		super();
		this.accountNumber = accountNum;
		this.owner = owner;
		this.balance = balance;
	}
	
	public enum AccountType
	{
		CHECKING, SAVINGS
	}
	
	public AccountOwner getOwner() 
	{
		return this.owner;
	}
	
	public int getAccountNum() 
	{
		return this.accountNumber;
	}
	
	public void setOwner(AccountOwner owner) 
	{
		this.owner = owner;
	}
	
	public double getBalance() 
	{
		return balance;
	}
	

}
